﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage2.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="body_right">
 <div class="body_right1_left">
          <h1>Iniciar Sesion</h1>
        </div>
        <div class="body_right1_right"><img src="images/button.png" /></div>
        <div><asp:Literal ID="litLoginMsg" runat="server"></asp:Literal></div>
        <div class="text_box"><asp:Label ID="lblUserName" runat="server" Text="Nombre de usuario" AssociatedControlID="txtUserName"></asp:Label>
        <asp:TextBox ID="txtUserName" runat="server" MaxLength="250" ValidationGroup="Login" CssClass="text_box_txt"></asp:TextBox>
<asp:RequiredFieldValidator
    ID="RequiredFieldValidatorUserName" runat="server" ErrorMessage="Enter User Name" ControlToValidate="txtUserName" Display="none"></asp:RequiredFieldValidator>
<asp:Label ID="lblPassword" runat="server" Text="Contrasena" AssociatedControlID="txtPassword" CssClass="simpleText"></asp:Label>
<asp:TextBox ID="txtPassword" runat="server" TextMode="Password" MaxLength="250" ValidationGroup="Login" CssClass="text_box_txt"></asp:TextBox>
<asp:RequiredFieldValidator
    ID="RequiredFieldValidatorPassword" runat="server" ErrorMessage="Enter Password" ControlToValidate="txtPassword" Display="none"></asp:RequiredFieldValidator>
</div>


        <asp:ImageButton ID="imgbtnLogin" runat="server" 
            ImageUrl="~/images/button2.jpg" CssClass="btnLogin" ValidationGroup="Login" 
            CausesValidation="true" onclick="imgbtnLogin_Click"  />
        </div>
</asp:Content>

